\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup}{
\section{BeautifulSoup.BeautifulStoneSoup Class Reference}
\label{class_beautiful_soup_1_1_beautiful_stone_soup}\index{BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}}
}


Inheritance diagram for BeautifulSoup.BeautifulStoneSoup:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_beautiful_soup_1_1_beautiful_stone_soup__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for BeautifulSoup.BeautifulStoneSoup:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_beautiful_soup_1_1_beautiful_stone_soup__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{class_beautiful_soup_1_1_beautiful_stone_soup_ac2534d247a2ea7b123c2d3fcc59ca683}{\_\-\_\-init\_\-\_\-}
\item 
def \hyperlink{class_beautiful_soup_1_1_beautiful_stone_soup_a5e13e07ded4e4d083f326f8bfbc59ba4}{convert\_\-charref}
\item 
def \hyperlink{class_beautiful_soup_1_1_beautiful_stone_soup_aedefa6cc9e03d02789f664ac658156a8}{\_\-\_\-getattr\_\-\_\-}
\item 
def \hyperlink{class_beautiful_soup_1_1_beautiful_stone_soup_ab4e48a33a3f768c897315c5b1b9efe79}{isSelfClosingTag}
\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_ad58c1ef3cc256186d84b1c58a70b16f7}{
def {\bfseries reset}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_ad58c1ef3cc256186d84b1c58a70b16f7}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a0deaf3005e61fa5fa91fe38c86d0a0ea}{
def {\bfseries popTag}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a0deaf3005e61fa5fa91fe38c86d0a0ea}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a4576f8456a4583e92bdd949a6b5c2327}{
def {\bfseries pushTag}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a4576f8456a4583e92bdd949a6b5c2327}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a695589cb32252336152aa937fa060c4c}{
def {\bfseries endData}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a695589cb32252336152aa937fa060c4c}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a973ca918f3f83e4e23d5a337fd9c11b1}{
def {\bfseries unknown\_\-starttag}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a973ca918f3f83e4e23d5a337fd9c11b1}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a453524cf8fb36f8a9412ae56793b130b}{
def {\bfseries unknown\_\-endtag}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a453524cf8fb36f8a9412ae56793b130b}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_ac0a8e3eecc502248377bce7ea689b917}{
def {\bfseries handle\_\-data}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_ac0a8e3eecc502248377bce7ea689b917}

\item 
def \hyperlink{class_beautiful_soup_1_1_beautiful_stone_soup_abb2d2dba812a0eceee69cffe77e61a69}{handle\_\-pi}
\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a8dcfc56d03ad1aed86a48ec6f6e6c11d}{
def {\bfseries handle\_\-comment}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a8dcfc56d03ad1aed86a48ec6f6e6c11d}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a7b12f35fccb441adb1ce44adf657a496}{
def {\bfseries handle\_\-charref}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a7b12f35fccb441adb1ce44adf657a496}

\item 
def \hyperlink{class_beautiful_soup_1_1_beautiful_stone_soup_a5867e92c68d4f41e71f07fd59150dd36}{handle\_\-entityref}
\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a0c9c381b680a846b43ae0223df39387f}{
def {\bfseries handle\_\-decl}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a0c9c381b680a846b43ae0223df39387f}

\item 
def \hyperlink{class_beautiful_soup_1_1_beautiful_stone_soup_ac07aa6e54d3db5de4c6550c6e6087abc}{parse\_\-declaration}
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_ad876d00e50bb6572537baf0e473695af}{
{\bfseries parseOnlyThese}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_ad876d00e50bb6572537baf0e473695af}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a4c9e6324d353cd8c251f76d9e756cef1}{
{\bfseries fromEncoding}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a4c9e6324d353cd8c251f76d9e756cef1}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_adb51c7b88ad8510e40ba27847b8b0544}{
{\bfseries smartQuotesTo}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_adb51c7b88ad8510e40ba27847b8b0544}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_ade01d347bc3c21271f0e78908919b7a3}{
{\bfseries convertEntities}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_ade01d347bc3c21271f0e78908919b7a3}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a9b4a2757a5008fb298a2b191b18ac4fd}{
{\bfseries convertXMLEntities}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a9b4a2757a5008fb298a2b191b18ac4fd}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_aada74f81dc7fe217f364a25737b685c6}{
{\bfseries convertHTMLEntities}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_aada74f81dc7fe217f364a25737b685c6}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a5419d81ec50112f22a95379e4a7caefc}{
{\bfseries escapeUnrecognizedEntities}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a5419d81ec50112f22a95379e4a7caefc}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a49f46fdb72c90a622e895cbee0be8965}{
{\bfseries instanceSelfClosingTags}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a49f46fdb72c90a622e895cbee0be8965}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_ade441508d4c8580b74bf3bc9ab03359e}{
{\bfseries markup}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_ade441508d4c8580b74bf3bc9ab03359e}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a879a56511c4e4ea001fc8a4732436ab7}{
{\bfseries markupMassage}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a879a56511c4e4ea001fc8a4732436ab7}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a1813fe12a7e24d169f80913921b1426e}{
{\bfseries originalEncoding}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a1813fe12a7e24d169f80913921b1426e}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a8d83994302cc7f62dd9725d0bc0dfd92}{
{\bfseries declaredHTMLEncoding}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a8d83994302cc7f62dd9725d0bc0dfd92}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a6a747ca9b0f99666172ef774854a92e2}{
{\bfseries hidden}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a6a747ca9b0f99666172ef774854a92e2}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a7911c5d2cc58c68bb92ffbd900c99161}{
{\bfseries currentData}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a7911c5d2cc58c68bb92ffbd900c99161}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a0983f88eb7c31f6d814d13d3e9d388e1}{
{\bfseries currentTag}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a0983f88eb7c31f6d814d13d3e9d388e1}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_ac004661b1d9f55cf6bcfcb0ac3d84b31}{
{\bfseries tagStack}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_ac004661b1d9f55cf6bcfcb0ac3d84b31}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a6cc35ca183ba7ad150a8c639253183c4}{
{\bfseries quoteStack}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a6cc35ca183ba7ad150a8c639253183c4}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_ac3e0335130ee7e1e1a17858c8dd3d5b4}{
{\bfseries previous}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_ac3e0335130ee7e1e1a17858c8dd3d5b4}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a8aca0e0d9ec2a34b5e7ddf7eaf5fccaa}{
{\bfseries literal}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a8aca0e0d9ec2a34b5e7ddf7eaf5fccaa}

\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a65bab2eb670ee812b1e3cc30b6e989f9}{
dictionary {\bfseries SELF\_\-CLOSING\_\-TAGS} = \{\}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a65bab2eb670ee812b1e3cc30b6e989f9}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a4a134184b7408bcc6c8eeebe73dc9d3a}{
dictionary {\bfseries NESTABLE\_\-TAGS} = \{\}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a4a134184b7408bcc6c8eeebe73dc9d3a}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a28ae7fca387103a7f92511543d7df108}{
dictionary {\bfseries RESET\_\-NESTING\_\-TAGS} = \{\}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a28ae7fca387103a7f92511543d7df108}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a0a91ad3e7618a67e8f81cbc57ad29c6d}{
dictionary {\bfseries QUOTE\_\-TAGS} = \{\}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a0a91ad3e7618a67e8f81cbc57ad29c6d}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_ab0be58da16ee3f28441007222ec42260}{
list {\bfseries PRESERVE\_\-WHITESPACE\_\-TAGS} = \mbox{[}$\,$\mbox{]}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_ab0be58da16ee3f28441007222ec42260}

\item 
list {\bfseries MARKUP\_\-MASSAGE}
\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a6b0efab28a85c6e93869d0e8201e5f45}{
string {\bfseries ROOT\_\-TAG\_\-NAME} = u'\mbox{[}document\mbox{]}'}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a6b0efab28a85c6e93869d0e8201e5f45}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_aa2f36c566bb0a821a5bf5fd1aac031f7}{
string {\bfseries HTML\_\-ENTITIES} = \char`\"{}html\char`\"{}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_aa2f36c566bb0a821a5bf5fd1aac031f7}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a5f846f71ca4e35548d6f8b3bc9e77b29}{
string {\bfseries XML\_\-ENTITIES} = \char`\"{}xml\char`\"{}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a5f846f71ca4e35548d6f8b3bc9e77b29}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a15ab5c22d7a5243faec5d663ccd6614e}{
string {\bfseries XHTML\_\-ENTITIES} = \char`\"{}xhtml\char`\"{}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a15ab5c22d7a5243faec5d663ccd6614e}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a35075398f278a845ce85d06e43e9af0a}{
{\bfseries ALL\_\-ENTITIES} = XHTML\_\-ENTITIES}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a35075398f278a845ce85d06e43e9af0a}

\item 
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a6147566d59785a1e368b70e3afbef247}{
dictionary {\bfseries STRIP\_\-ASCII\_\-SPACES} = \{ 9: None, 10: None, 12: None, 13: None, 32: None, \}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a6147566d59785a1e368b70e3afbef247}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}This class contains the basic parser and search code. It defines
a parser that knows nothing about tag behavior except for the
following:

  You can't close a tag without closing all the tags it encloses.
  That is, "<foo><bar></foo>" actually means
  "<foo><bar></bar></foo>".

[Another possible explanation is "<foo><bar /></foo>", but since
this class defines no SELF_CLOSING_TAGS, it will never use that
explanation.]

This class is useful for parsing XML or made-up markup languages,
or when BeautifulSoup makes an assumption counter to what you were
expecting.\end{DoxyVerb}
 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_ac2534d247a2ea7b123c2d3fcc59ca683}{
\index{BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}!\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}}
\index{\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}!BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}}
\subsubsection[{\_\-\_\-init\_\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def BeautifulSoup.BeautifulStoneSoup.\_\-\_\-init\_\-\_\- (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{markup = {\ttfamily \char`\"{}\char`\"{}}, }
\item[{}]{parseOnlyThese = {\ttfamily None}, }
\item[{}]{fromEncoding = {\ttfamily None}, }
\item[{}]{markupMassage = {\ttfamily True}, }
\item[{}]{smartQuotesTo = {\ttfamily XML\_\-ENTITIES}, }
\item[{}]{convertEntities = {\ttfamily None}, }
\item[{}]{selfClosingTags = {\ttfamily None}, }
\item[{}]{isHTML = {\ttfamily False}}
\end{DoxyParamCaption}
)}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_ac2534d247a2ea7b123c2d3fcc59ca683}
\begin{DoxyVerb}The Soup object is initialized as the 'root tag', and the
provided markup (which can be a string or a file-like object)
is fed into the underlying parser.

sgmllib will process most bad HTML, and the BeautifulSoup
class has some tricks for dealing with some HTML that kills
sgmllib, but Beautiful Soup can nonetheless choke or lose data
if your data uses self-closing tags or declarations
incorrectly.

By default, Beautiful Soup uses regexes to sanitize input,
avoiding the vast majority of these problems. If the problems
don't apply to you, pass in False for markupMassage, and
you'll get better performance.

The default parser massage techniques fix the two most common
instances of invalid HTML that choke sgmllib:

 <br/> (No space between name of closing tag and tag close)
 <! --Comment--> (Extraneous whitespace in declaration)

You can pass in a custom list of (RE object, replace method)
tuples to get Beautiful Soup to scrub your input the way you
want.\end{DoxyVerb}
 

\subsection{Member Function Documentation}
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_aedefa6cc9e03d02789f664ac658156a8}{
\index{BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}!\_\-\_\-getattr\_\-\_\-@{\_\-\_\-getattr\_\-\_\-}}
\index{\_\-\_\-getattr\_\-\_\-@{\_\-\_\-getattr\_\-\_\-}!BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}}
\subsubsection[{\_\-\_\-getattr\_\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def BeautifulSoup.BeautifulStoneSoup.\_\-\_\-getattr\_\-\_\- (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{methodName}
\end{DoxyParamCaption}
)}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_aedefa6cc9e03d02789f664ac658156a8}
\begin{DoxyVerb}This method routes method call requests to either the SGMLParser
superclass or the Tag superclass, depending on the method name.\end{DoxyVerb}
 \hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a5e13e07ded4e4d083f326f8bfbc59ba4}{
\index{BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}!convert\_\-charref@{convert\_\-charref}}
\index{convert\_\-charref@{convert\_\-charref}!BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}}
\subsubsection[{convert\_\-charref}]{\setlength{\rightskip}{0pt plus 5cm}def BeautifulSoup.BeautifulStoneSoup.convert\_\-charref (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{name}
\end{DoxyParamCaption}
)}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a5e13e07ded4e4d083f326f8bfbc59ba4}
\begin{DoxyVerb}This method fixes a bug in Python's SGMLParser.\end{DoxyVerb}
 \hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a5867e92c68d4f41e71f07fd59150dd36}{
\index{BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}!handle\_\-entityref@{handle\_\-entityref}}
\index{handle\_\-entityref@{handle\_\-entityref}!BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}}
\subsubsection[{handle\_\-entityref}]{\setlength{\rightskip}{0pt plus 5cm}def BeautifulSoup.BeautifulStoneSoup.handle\_\-entityref (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{ref}
\end{DoxyParamCaption}
)}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a5867e92c68d4f41e71f07fd59150dd36}
\begin{DoxyVerb}Handle entity references as data, possibly converting known
HTML and/or XML entity references to the corresponding Unicode
characters.\end{DoxyVerb}
 \hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_abb2d2dba812a0eceee69cffe77e61a69}{
\index{BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}!handle\_\-pi@{handle\_\-pi}}
\index{handle\_\-pi@{handle\_\-pi}!BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}}
\subsubsection[{handle\_\-pi}]{\setlength{\rightskip}{0pt plus 5cm}def BeautifulSoup.BeautifulStoneSoup.handle\_\-pi (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{text}
\end{DoxyParamCaption}
)}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_abb2d2dba812a0eceee69cffe77e61a69}
\begin{DoxyVerb}Handle a processing instruction as a ProcessingInstruction
object, possibly one with a %SOUP-ENCODING% slot into which an
encoding will be plugged later.\end{DoxyVerb}
 \hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_ab4e48a33a3f768c897315c5b1b9efe79}{
\index{BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}!isSelfClosingTag@{isSelfClosingTag}}
\index{isSelfClosingTag@{isSelfClosingTag}!BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}}
\subsubsection[{isSelfClosingTag}]{\setlength{\rightskip}{0pt plus 5cm}def BeautifulSoup.BeautifulStoneSoup.isSelfClosingTag (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{name}
\end{DoxyParamCaption}
)}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_ab4e48a33a3f768c897315c5b1b9efe79}
\begin{DoxyVerb}Returns true iff the given string is the name of a
self-closing tag according to this parser.\end{DoxyVerb}
 \hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_ac07aa6e54d3db5de4c6550c6e6087abc}{
\index{BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}!parse\_\-declaration@{parse\_\-declaration}}
\index{parse\_\-declaration@{parse\_\-declaration}!BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}}
\subsubsection[{parse\_\-declaration}]{\setlength{\rightskip}{0pt plus 5cm}def BeautifulSoup.BeautifulStoneSoup.parse\_\-declaration (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{i}
\end{DoxyParamCaption}
)}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_ac07aa6e54d3db5de4c6550c6e6087abc}
\begin{DoxyVerb}Treat a bogus SGML declaration as raw data. Treat a CDATA
declaration as a CData object.\end{DoxyVerb}
 

\subsection{Member Data Documentation}
\hypertarget{class_beautiful_soup_1_1_beautiful_stone_soup_a9f812647c0666b08fe7ba9ae890d2b4b}{
\index{BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}!MARKUP\_\-MASSAGE@{MARKUP\_\-MASSAGE}}
\index{MARKUP\_\-MASSAGE@{MARKUP\_\-MASSAGE}!BeautifulSoup::BeautifulStoneSoup@{BeautifulSoup::BeautifulStoneSoup}}
\subsubsection[{MARKUP\_\-MASSAGE}]{\setlength{\rightskip}{0pt plus 5cm}list BeautifulSoup.BeautifulStoneSoup.MARKUP\_\-MASSAGE\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{class_beautiful_soup_1_1_beautiful_stone_soup_a9f812647c0666b08fe7ba9ae890d2b4b}
{\bfseries Initial value:}
\begin{DoxyCode}
[(re.compile('(<[^<>]*)/>'),
                       lambda x: x.group(1) + ' />'),
                      (re.compile('<!\s+([^<>]*)>'),
                       lambda x: '<!' + x.group(1) + '>')
                      ]
\end{DoxyCode}


The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
BeautifulSoup.py\end{DoxyCompactItemize}
